# 
# To change this template, choose Tools | Templates
# and open the template in the editor.

require 'net/http'

Net::HTTP.start('twitter.com') {|http|
  req = Net::HTTP::Get.new('/statuses/friends_timeline.xml')
  req.basic_auth 'chillicoder', 'toosimple'
  response = http.request(req)
  
  print response.body
}
